# GBS Shell Makefile

CC = gcc
CFLAGS  = -Wall -g 
OBJ = gbsh.o functions.o tokens.o

all: gbsh

gbsh: $(OBJ)
	$(CC) $(CFLAGS) -o gbsh $(OBJ)

gbsh.o: gbsh.c
	$(CC) $(CFLAGS) -c gbsh.c

functions.o: functions.c
	$(CC) $(CFLAGS) -c functions.c	
    
tokens.o: tokens.c
	$(CC) $(CFLAGS) -c tokens.c	